/**
 * 主从表关系类
 */
package cn.antia.cwin.window;

import java.util.List;

/**
 * @author sunkeei
 * @date Dec 27, 2007
 * @time 9:11:09 PM
 */
public class Relation {
	private String table;			//主表字段
	private List relationFields;	//关系字段列表
	
	public Relation() {
	}
	
	public Relation(String table, List relationFields) {
		this.table = table;
		this.relationFields = relationFields;
	}
	public List getRelationFields() {
		return relationFields;
	}

	public void setRelationFields(List relationFields) {
		this.relationFields = relationFields;
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}
}
